---
title: DB-CLL-054 — Set the mail OAR flag on a legal case
summary: Set the mail OAR flag on a legal case
status: draft
owner: SAIF Case Management team
last_reviewed: 2026-08-21
library: SAIF.Business.Claim.Legal
reference_type: embedded
---

# DB-CLL-054 — Set the mail OAR flag on a legal case

## Classification

| Field | Value |
|---|---|
| SQL ID | DB-CLL-054 |
| Operation type | Misc |
| Execution method | StoredProc |
| Database | Oracle (Case Management) |
| Schema | [unqualified]** |
| Command type | Stored procedure call |
| Business object | clsMailDate |
| Criteria property | UpdateSQL |
| Lifecycle method | BeforeUpdate |

## Parameters

| Name | Direction | Type | Default | Description |
|---|---|---|---|---|
| LegalCaseID | Input | NUMBER | N/A | Legal case identifier |
| MailOARFlag | Input | VARCHAR2 | 1 | Order-and-award mail flag |

## Tables

| Table | Access | Columns/Notes |
|---|---|---|
| [LEGAL_CASE](../database-tables.md#legal_case) | UPDATE | LegalCaseID, MailOARFlag |

## Sample SQL

```sql
EXEC PK80001_LEGALNET.setMailOARFlag(:LegalCaseID, :MailOARFlag);
```

## Operations and processes

- [Manage mail dates and OAR flags](../operations/manage-mail-date.md)

## Sources

- `SAIF.Business.Claim.Legal\LegalNet\clsMailDate.vb`